<!DOCTYPE HTML>
<html>
<head>
	<meta charset="utf-8">
	<meta name="renderer" content="webkit|ie-comp|ie-stand">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
	<meta http-equiv="Cache-Control" content="no-siteapp" />
	<title><{config_item('manager_title')}></title>
	<link href="/public/H-ui/css/H-ui.min.css" rel="stylesheet" type="text/css" />
	<link href="/public/H-ui/css/H-ui.admin.css" rel="stylesheet" type="text/css" />
	<link href="/public/H-ui/hui-iconfont/iconfont.css" rel="stylesheet" type="text/css">
	<link href="/public/H-ui/css/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<div>
	<form action="<{site_url('/manager/order/order/order_send_save')}>" method="post" class="form form-horizontal" id="add" enctype="multipart/form-data">
		<input type="hidden" name="id" value="<{$order_data.id}>">
		<div class="row cl">
			<label class="form-label col-3"><span class="c-red">*</span>订单号：</label>
			<div class="formControls col-7">
				<{$order_data.order_no}>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-3">快递公司：</label>
			<div class="formControls col-7">
                <span class="select-box">
				<select name="express_company_id" class="select">
					<{foreach $express_company_data as $key}>
					<option value="<{$key.id}>"><{$key.name}></option>
					<{/foreach}>
				</select>
				</span>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-3"><span class="c-red">*</span>物流单号：</label>
			<div class="formControls col-7">
				<input type="text" class="input-text" value="" name="delivery_code" datatype="n" nullmsg="请填写物流单号" style="width: 200px;">
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-3"><span class="c-red">*</span>备注：</label>
			<div class="formControls col-7">
				<textarea name="note" cols="" rows="" class="textarea"  placeholder="备注" dragonfly="true" onKeyUp="textarealength(this,100)" style="height: 60px;"></textarea>
				<p class="textarea-numberbar"><em class="textarea-length">0</em>/100</p>
			</div>
		</div>
		<div class="row cl">
			<div class="col-10 col-offset-2">
				<button onClick="$('#add').submit();" class="btn btn-primary radius" type="submit"><i class="Hui-iconfont">&#xe632;</i> 保存</button>
				<button onClick="layer_close();" class="btn btn-default radius" type="button">&nbsp;&nbsp;取消&nbsp;&nbsp;</button>
			</div>
		</div>
	</form>
</div>
</div>

<script type="text/javascript" src="/public/js/jquery.js"></script>
<script type="text/javascript" src="/public/js/validform.js"></script>
<script type="text/javascript" src="/public/js/layer/layer.js"></script>
<script type="text/javascript" src="/public/js/form.js"></script>
<script type="text/javascript" src="/public/H-ui/js/H-ui.js"></script>
<script type="text/javascript" src="/public/H-ui/js/H-ui.admin.js"></script>
<script type="text/javascript">
	$(function(){
		//验证表单
		$.Tipmsg.r=null;
		$("#add").Validform({
			tiptype:function(msg){
				layer.msg(msg);
			},
			tipSweep:true,
			ajaxPost:true,
			callback:function(data){
				if(data.status=="y"){
					layer.msg('发货完成');
					setTimeout('layer_close()',1500);
				}
			}
		});
	});
</script>
</body>
</html>